var CompanyThumbnail = {
	getThumbnailGrid: function() {
		ajax({
			  url: baseURL + "company/thumbnail",
			  cache: false,
			  type: "POST",
			  data: $('#ajax_form').serialize(),
			  async: false,
			  dataType: 'html',
			  success: function(data) {
				  $('#gridThumbnail').html(data);
			  }
			});
	},
	
	updateThumbnail: function(idthumbnail) {
		ajax({
			  url: baseURL + "company/thumbnail/update",
			  cache: false,
			  type: "POST",
			  data: 'id=' + idthumbnail,
			  async: false,
			  dataType: 'script'
			});
			
			return false;
	},
	
	
	deleteThumbnail: function(idthumbnail) {
		ajax({
			  url: baseURL + "company/thumbnail/delete",
			  cache: false,
			  type: "POST",
			  data: 'id=' + idthumbnail,
			  async: false,
			  dataType: 'script'
			});
			
			return false;
	}
};